N4 implements security for custom dynamic entities at the user interface level by securing the UI elements that use the entity. When you restart the application or reload all variforms, N4 dynamically generates privileges for the UI elements listed in the following table.
You use dynamic privileges like any other privilege to grant user roles create, read, update, and delete access to a UI element.
For more information, see Role form and User form.
UI Element |
Format for Privilege ID |
---|---|
New custom menu nodes |
CUSTOM_NODE_YourMenuItemName |
Standard actions in new table views |
custom.variform.delete.CUSTOM_YourTableName custom.variform.view.CUSTOM_YourTableName custom.variform.update.CUSTOM_YourTableName custom.variform.create.CUSTOM_YourTableName |
Custom actions in any table view N4 secures the same action in two different views by two different privileges. For N4 to dynamically create the privilege for a completely new variform, you must manually add the following element and attribute to the variform definition: <customization creationType="CUSTOM_NEW"/> |
custom.action.CUSTOM_YourActionName.VARIFORMID |